package com.ck.constant;

/**
 * 业务常量类
 *
 * @author dxy
 * @date 2018/6/21 14:41
 */
public class BusinessConstant {
	/**
	 * 操作日志状态-成功
	 */
	public static final int OPERATION_LONG_OPERATION_STATUS_SUCCESS = 1;
	/**
	 * 操作日志状态-失败
	 */
	public static final int OPERATION_LONG_OPERATION_STATUS_FAIL = 0;
	/**
	 * 状态-启用
	 */
	public static final int STATUS_ENABLE = 0;
	/**
	 * 状态-禁用
	 */
	public static final int STATUS_DISABLE = 1;
	/**
	 * 创客
	 */
	public static final int TYPYE_CK = 0;
	/**
	 * 公司
	 */
	public static final int TYPYE_CP = 1;
	/**
	 * 终端状态-在线
	 */
	public static final int DEVICE_INFO_STATUS_ON_LINE = 0;
	/**
	 * 终端状态-离线
	 */
	public static final int DEVICE_INFO_STATUS_OFF_LINE = 1;
	/**
	 * 节目状态-已审核
	 */
	public static final int PROGRAM_STATUS_PASS = 0;
	/**
	 * 节目状态-待审核
	 */
	public static final int PROGRAM_STATUS_UN_PASS = 1;
	/**
	 * 节目状态-待发布
	 */
	public static final int PROGRAM_STATUS_UN_PUBLISH = 2;
	/**
	 * 节目状态-已过期
	 */
	public static final int PROGRAM_STATUS_EXPIRED = 3;
	/**
	 * 东北大区
	 */
	public static final String REGION_NORTH_EAST = "NE";
	/**
	 * 华北大区
	 */
	public static final String REGION_NORTH_CHINA = "NC";
	/**
	 * 华中大区
	 */
	public static final String REGION_CENTRAL_CHINA = "CC";
	/**
	 * 华东大区
	 */
	public static final String REGION_EAST_CHINA = "EC";
	/**
	 * 华南大区
	 */
	public static final String REGION_SOUTH_CHINA = "SC";
	/**
	 * 西北大区
	 */
	public static final String REGION_WEST_NORTH = "WN";
	/**
	 * 西南大区
	 */
	public static final String REGION_WEST_SOUTH = "WS";
	/**
	 * 创客的默认company_code
	 */
	public static final String CK_COMPANY_CODE = "CK000000000000001";
	/**
	 * 终端升级1:强制升级
	 */
	public static final int DEVICE_UPGRADE_FORCE_YEE = 1;
	/**
	 * 终端升级0:不强制
	 */
	public static final int DEVICE_UPGRADE_FORCE_NO = 0;
	/**
	 * 终端升级类型-软件
	 */
	public static final int DEVICE_UPGRADE_TYPE_SOFTWARE = 0;
	/**
	 * 终端升级类型-固件
	 */
	public static final int DEVICE_UPGRADE_TYPE_FIRMWARE = 1;
	/**
	 * 文件后缀名-apk
	 */
	public static final String FILE_SUFFIX_APK = ".apk";
	/**
	 * 文件后缀名-zip
	 */
	public static final String FILE_SUFFIX_ZIP = ".zip";
	/**
	 * APK文件存储相对路径
	 */
	public static final String FILE_APK_RELATIVE_PATH = "ck/apk";
	/**
	 * 固件文件存储相对路径
	 */
	public static final String FILE_FIRMWARE_RELATIVE_PATH = "ck/firmware";
	/**
	 * 是超级管理员用户
	 */
	public static final int SUPER_ADMIN_USER_YES = 0;
	/**
	 * 不是超级管理员用户
	 */
	public static final int SUPER_ADMIN_USER_NO = 1;
	/**
	 * 是超级管理员角色
	 */
	public static final int SUPER_ADMIN_ROLE_YES = 0;
	/**
	 * 不是超级管理员角色
	 */
	public static final int SUPER_ADMIN_ROLE_NO = 1;
}
